119. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2024-03-04 14:38:49 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

119.1 Files compared

#LocationFileLast Modified
1/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/listitems.phtml2023-03-07 15:11:30 +0000
2/Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/listitems.phtml2024-03-02 05:09:54 +0000

119.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged3828
Changed12
Inserted12
Removed00

119.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

119.4 Active regular expressions

No regular expressions were active.

119.5 Comparison detail

1 <?php 1 <?php
2 /** 2 /**
3  * Copyright © Magento, Inc. All rights reserved. 3  * Copyright © Magento, Inc. All rights reserved.
4  * See COPYING.txt for license details. 4  * See COPYING.txt for license details.
5  */ 5  */
6  6 
7 // phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis 7 // phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
8 // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect 8 // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect
9  9 
10 /* @var $block \Magento\Catalog\Block\Product\AbstractProduct */ 10 /* @var $block \Magento\Catalog\Block\Product\AbstractProduct */
11 ?> 11 ?>
12  12 
13 <?php 13 <?php
14 $columns = "columns4"; 14 $columns = "columns4";
15 $_imagehelper = $this->helper('Magento\Catalog\Helper\Image'); 15 $_imagehelper = $this->helper('Magento\Catalog\Helper\Image');
16 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data'); 16 $_portohelper = $this->helper('Smartwave\Porto\Helper\Data');
17 $review_model = $_portohelper->getModel('\Magento\Review\Model\Review'); 17 $review_model = $_portohelper->getModel('\Magento\Review\Model\Review');
18 $_category_config = $_portohelper->getConfig('porto_settings/category'); 18 $_category_config = $_portohelper->getConfig('porto_settings/category');
19 $_category_grid_config = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category_grid'); 19 $_category_grid_config = $this->helper('Smartwave\Porto\Helper\Data')->getConfig('porto_settings/category_grid');
20 $upsell_columns = $_portohelper->getConfig('porto_settings/product/upsell_columns'); 20 $upsell_columns = $_portohelper->getConfig('porto_settings/product/upsell_columns');
21 $move_related = $_portohelper->getConfig('porto_settings/product/move_related'); 21 $move_related = $_portohelper->getConfig('porto_settings/product/move_related');
22 $move_related_columns = $_portohelper->getConfig('porto_settings/product/move_related_columns'); 22 $move_related_columns = $_portohelper->getConfig('porto_settings/product/move_related_columns');
    23 $product_type = $_portohelper->getConfig('porto_settings/product/product_page_type');
    24 $enable_flick_slide = $_portohelper->getConfig('porto_settings/product/enable_flick_slide');
23  25 
24 switch ($type = $block->getType()) { 26 switch ($type = $block->getType()) {
25  27 
26     case 'related-rule': 28     case 'related-rule':
27         if ($exist = $block->hasItems()) { 29         if ($exist = $block->hasItems()) {
28             $type = 'related'; 30             $type = 'related';
29             $class = $type; 31             $class = $type;
30  32 
31             $image = 'related_products_list'; 33             $image = 'related_products_list';
32             $title = __('Related Products'); 34             $title = __('Related Products');
33             $items = $block->getAllItems(); 35             $items = $block->getAllItems();
34             $limit = $block->getPositionLimit(); 36             $limit = $block->getPositionLimit();
35             $shuffle = (int) $block->isShuffled(); 37             $shuffle = (int) $block->isShuffled();
36             $canItemsAddToCart = $block->canItemsAddToCart(); 38             $canItemsAddToCart = $block->canItemsAddToCart();
37  39 
38             $showWishlist = true; 40             $showWishlist = true;
39             $showCompare = true; 41             $showCompare = true;
40             $showCart = false; 42             $showCart = false;
41             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 43             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
42             $description = false; 44             $description = false;
43         } 45         }
44     break; 46     break;
45  47 
46     case 'related': 48     case 'related':
47         /** @var \Magento\Catalog\Block\Product\ProductList\Related $block */ 49         /** @var \Magento\Catalog\Block\Product\ProductList\Related $block */
48         if ($exist = $block->getItems()->getSize()) { 50         if ($exist = $block->getItems()->getSize()) {
49             $type = 'related'; 51             $type = 'related';
50             $class = $type; 52             $class = $type;
51             if($move_related_columns) 53             if($move_related_columns)
52                 $columns = ""; 54                 $columns = "";
53             $image = 'related_products_list'; 55             $image = 'related_products_list';
54             $title = __('Related Products'); 56             $title = __('Related Products');
55             $items = $block->getItems(); 57             $items = $block->getItems();
56             $limit = 0; 58             $limit = 0;
57             $shuffle = 0; 59             $shuffle = 0;
58             $canItemsAddToCart = $block->canItemsAddToCart(); 60             $canItemsAddToCart = $block->canItemsAddToCart();
59  61 
60             $showWishlist = false; 62             $showWishlist = false;
61             $showCompare = false; 63             $showCompare = false;
62             $showCart = false; 64             $showCart = false;
63             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 65             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
64             $description = false; 66             $description = false;
65         } 67         }
66     break; 68     break;
67  69 
68     case 'upsell-rule': 70     case 'upsell-rule':
69         if ($exist = $block->hasItems()) { 71         if ($exist = $block->hasItems()) {
70             $type = 'upsell'; 72             $type = 'upsell';
71             $class = $type; 73             $class = $type;
72  74 
73             $image = 'upsell_products_list'; 75             $image = 'upsell_products_list';
74             $title = __('We found other products you might like!'); 76             $title = __('We found other products you might like!');
75             $items = $block->getAllItems(); 77             $items = $block->getAllItems();
76             $limit = $block->getPositionLimit(); 78             $limit = $block->getPositionLimit();
77             $shuffle = (int) $block->isShuffled(); 79             $shuffle = (int) $block->isShuffled();
78  80 
79             $showWishlist = false; 81             $showWishlist = false;
80             $showCompare = false; 82             $showCompare = false;
81             $showCart = false; 83             $showCart = false;
82             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 84             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
83             $description = false; 85             $description = false;
84             $canItemsAddToCart = false; 86             $canItemsAddToCart = false;
85         } 87         }
86     break; 88     break;
87  89 
88     case 'upsell': 90     case 'upsell':
89         /** @var \Magento\Catalog\Block\Product\ProductList\Upsell $block */ 91         /** @var \Magento\Catalog\Block\Product\ProductList\Upsell $block */
90         if ($exist = count($block->getItemCollection()->getItems())) { 92         if ($exist = count($block->getItemCollection()->getItems())) {
91             $type = 'upsell'; 93             $type = 'upsell';
92             $class = $type; 94             $class = $type;
93             if($upsell_columns) 95             if($upsell_columns)
94                 $columns = ""; 96                 $columns = "";
95             $image = 'upsell_products_list'; 97             $image = 'upsell_products_list';
96             $title = __('We found other products you might like!'); 98             $title = __('We found other products you might like!');
97             $items = $block->getItemCollection()->getItems(); 99             $items = $block->getItemCollection()->getItems();
98             $limit = $block->getItemLimit('upsell'); 100             $limit = $block->getItemLimit('upsell');
99             $shuffle = 0; 101             $shuffle = 0;
100  102 
101             $showWishlist = true; 103             $showWishlist = true;
102             $showCompare = true; 104             $showCompare = true;
103             $showCart = true; 105             $showCart = true;
104             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 106             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
105             $description = false; 107             $description = false;
106             $canItemsAddToCart = false; 108             $canItemsAddToCart = false;
107         } 109         }
108     break; 110     break;
109  111 
110     case 'crosssell-rule': 112     case 'crosssell-rule':
111         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */ 113         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */
112         if ($exist = $block->hasItems()) { 114         if ($exist = $block->hasItems()) {
113             $type = 'crosssell'; 115             $type = 'crosssell';
114             $class = $type; 116             $class = $type;
115  117 
116             $image = 'cart_cross_sell_products'; 118             $image = 'cart_cross_sell_products';
117             $title = __('More Choices:'); 119             $title = __('More Choices:');
118             $items = $block->getItemCollection(); 120             $items = $block->getItemCollection();
119  121 
120             $showWishlist = true; 122             $showWishlist = true;
121             $showCompare = true; 123             $showCompare = true;
122             $showCart = true; 124             $showCart = true;
123             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 125             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
124             $description = false; 126             $description = false;
125             $canItemsAddToCart = false; 127             $canItemsAddToCart = false;
126         } 128         }
127     break; 129     break;
128  130 
129     case 'crosssell': 131     case 'crosssell':
130         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */ 132         /** @var \Magento\Catalog\Block\Product\ProductList\Crosssell $block */
131         if ($exist = $block->getItemCount()) { 133         if ($exist = $block->getItemCount()) {
132             $type = 'crosssell'; 134             $type = 'crosssell';
133             $class = $type; 135             $class = $type;
134  136 
135             $image = 'cart_cross_sell_products'; 137             $image = 'cart_cross_sell_products';
136             $title = __('More Choices:'); 138             $title = __('More Choices:');
137             $items = $block->getItems(); 139             $items = $block->getItems();
138             $columns = "columns4"; 140             $columns = "columns4";
139  141 
140             $showWishlist = true; 142             $showWishlist = true;
141             $showCompare = true; 143             $showCompare = true;
142             $showCart = true; 144             $showCart = true;
143             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 145             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
144             $description = false; 146             $description = false;
145             $canItemsAddToCart = false; 147             $canItemsAddToCart = false;
146         } 148         }
147     break; 149     break;
148  150 
149     case 'new': 151     case 'new':
150         if ($exist = $block->getProductCollection()) { 152         if ($exist = $block->getProductCollection()) {
151             $type = 'new'; 153             $type = 'new';
152             $mode = 'grid'; 154             $mode = 'grid';
153             $type = $type . ' ' . $mode; 155             $type = $type . ' ' . $mode;
154  156 
155             $class = 'widget' . ' ' . $type; 157             $class = 'widget' . ' ' . $type;
156  158 
157             $image = 'new_products_content_widget_grid'; 159             $image = 'new_products_content_widget_grid';
158             $title = __('New Products'); 160             $title = __('New Products');
159             $items = $exist; 161             $items = $exist;
160  162 
161             $showWishlist = true; 163             $showWishlist = true;
162             $showCompare = true; 164             $showCompare = true;
163             $showCart = true; 165             $showCart = true;
164             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW; 166             $templateType = \Magento\Catalog\Block\Product\ReviewRendererInterface::SHORT_VIEW;
165             $description = ($mode == 'list') ? true : false; 167             $description = ($mode == 'list') ? true : false;
166             $canItemsAddToCart = false; 168             $canItemsAddToCart = false;
167         } 169         }
168     break; 170     break;
169  171 
170     case 'other': 172     case 'other':
171     break; 173     break;
172 } 174 }
173  175 
174 $image = 'category_page_grid'; 176 $image = 'category_page_grid';
175 $hover_image = 'category_page_grid-hover'; 177 $hover_image = 'category_page_grid-hover';
176 $image_width = ($_category_config['ratio_width'])?$_category_config['ratio_width']:300; 178 $image_width = ($_category_config['ratio_width'])?$_category_config['ratio_width']:300;
177 $image_height = ($_category_config['ratio_height'])?$_category_config['ratio_height']:300; 179 $image_height = ($_category_config['ratio_height'])?$_category_config['ratio_height']:300;
178 ?> 180 ?>
179  181 
180 <?php if ($exist) :?> 182 <?php if ($exist) :?>
181  183 
182 <?php if ($type == 'related' || $type == 'upsell') :?> 184 <?php if ($type == 'related' || $type == 'upsell') :?>
183 <?php if ($type == 'related') :?> 185 <?php if ($type == 'related') :?>
184 <div class="block <?= $block->escapeHtmlAttr($class) ?><?php if($move_related):?> move-related porto-products title-border-bottom<?php endif;?>" data-mage-init='{"relatedProducts":{"relatedCheckbox":".related.checkbox"}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>"> 186 <div class="block <?= $block->escapeHtmlAttr($class) ?><?php if($move_related):?> move-related porto-products title-border-bottom<?php endif;?>" data-mage-init='{"relatedProducts":{"relatedCheckbox":".related.checkbox"}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>">
185     <?php else :?> 187     <?php else :?>
186     <div class="block <?= $block->escapeHtmlAttr($class) ?> porto-products title-border-bottom" data-mage-init='{"upsellProducts":{}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>"> 188     <div class="block <?= $block->escapeHtmlAttr($class) ?> porto-products title-border-bottom" data-mage-init='{"upsellProducts":{}}' data-limit="<?= $block->escapeHtmlAttr($limit) ?>" data-shuffle="<?= /* @noEscape */ $shuffle ?>">
187         <?php endif; ?> 189         <?php endif; ?>
188         <?php else :?> 190         <?php else :?>
189         <div class="block <?= $block->escapeHtmlAttr($class) ?>"> 191         <div class="block <?= $block->escapeHtmlAttr($class) ?>">
190             <?php endif; ?> 192             <?php endif; ?>
191             <div class="section-title slider-title"> 193             <div class="section-title slider-title">
192                 <strong id="block-<?= $block->escapeHtmlAttr($class) ?>-heading" role="heading" aria-level="2"><?= $block->escapeHtml($title) ?></strong> 194                 <strong id="block-<?= $block->escapeHtmlAttr($class) ?>-heading" role="heading" aria-level="2"><?= $block->escapeHtml($title) ?></strong>
193             </div> 195             </div>
194             <div class="block-content content" aria-labelledby="block-<?= $block->escapeHtmlAttr($class) ?>-heading"> 196             <div class="block-content content" aria-labelledby="block-<?= $block->escapeHtmlAttr($class) ?>-heading">
195                 <?php if ($type == 'related' && $canItemsAddToCart) :?> 197                 <?php if ($type == 'related' && $canItemsAddToCart) :?>
196                     <div class="block-actions"> 198                     <div class="block-actions">
197                         <?= $block->escapeHtml(__('Check items to add to the cart or')) ?> 199                         <?= $block->escapeHtml(__('Check items to add to the cart or')) ?>
198                         <button type="button" class="action select" role="button" data-role="select-all"><span><?= $block->escapeHtml(__('select all')) ?></span></button> 200                         <button type="button" class="action select" role="button" data-role="select-all"><span><?= $block->escapeHtml(__('select all')) ?></span></button>
199                     </div> 201                     </div>
200                 <?php endif; ?> 202                 <?php endif; ?>
201                 <div class="products wrapper grid products-grid  <?php if ($type == 'upsell' || $type == 'crosssell'): ?><?php echo $columns; ?><?php endif; ?> products-grid products-<?php /* @escapeNotVerified */ echo $type; ?><?php if($type  == 'related' && !$move_related):?> small-list<?php endif;?>"> 203                 <div class="products wrapper grid products-grid  <?php if ($type == 'upsell' || $type == 'crosssell'): ?><?php echo $columns; ?><?php endif; ?> products-grid products-<?php /* @escapeNotVerified */ echo $type; ?><?php if($type  == 'related' && !$move_related):?> small-list<?php endif;?>">
202                     <div class="products list items product-items <?php if ($type == 'related' || $type == 'upsell'): ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?>products-slider <?php endif;?>owl-carousel<?php 
endif; ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?> show-dots-title-right dots-style-1<?php endif; ?><?php if($type  == 'related' && !$move_related):?> show-nav-title<?php endif;?>">
 204                     <div class="products list items product-items <?php if ($type == 'related' || $type == 'upsell'): ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?>products-slider <?php endif;?>owl-carousel<?php if($enable_flick_slide && $product_type == 'carousel'):?> flick-carousel<?php endif;?><?phendif; ?><?php if ($type == 'upsell' || ($type == 'related' && $move_related)): ?> show-dots-title-right dots-style-1<?php endif; ?><?php if($type  == 'related' && !$move_related):?> show-nav-title<?php endif;?>">
203                         <?php $iterator = 0; ?> 205                         <?php $iterator = 0; ?>
204 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php foreach ($items as $_item): ?> 206 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php foreach ($items as $_item): ?>
205 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = ''; ?> 207 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = ''; ?>
206 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?> 208 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?>
207 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?> 209 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?>
208 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = 'related-available'; ?> 210 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $available = 'related-available'; ?>
209 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 211 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
210 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 212 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
211 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?> 213 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?>
212 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 214 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
213 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $iterator ++; 215 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $iterator ++;
214 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator % 2 == 1) 216 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator % 2 == 1)
215 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '<div class="item product product-item" style="display: none;">'; 217 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '<div class="item product product-item" style="display: none;">';
216 »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 218 »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
217 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php elseif ($type == 'upsell' || ($type == 'related' && $move_related)): ?> 219 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php elseif ($type == 'upsell' || ($type == 'related' && $move_related)): ?>
218 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator++ == 0) ? '<div class="item product product-item" style="display: none;">' : '</div><div class="item product product-item" style="display: none;">' ?> 220 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator++ == 0) ? '<div class="item product product-item" style="display: none;">' : '</div><div class="item product product-item" style="display: none;">' ?>
219 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 221 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
220 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo($iterator++ == 0) ? '<div class="item product product-item">' : '</div><div class="item product product-item">' ?> 222 »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo($iterator++ == 0) ? '<div class="item product product-item">' : '</div><div class="item product product-item">' ?>
221 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 223 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
222                             <div class="product-item-info <?= /* @noEscape */ $available ?>"> 224                             <div class="product-item-info <?= /* @noEscape */ $available ?>">
223                                 <?php /* @escapeNotVerified */ echo '<!-- ' . $image . '-->' ?> 225                                 <?php /* @escapeNotVerified */ echo '<!-- ' . $image . '-->' ?>
224 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="<?php echo $_item->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1"> 226 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="<?php echo $_item->getProductUrl() ?>" class="product photo product-item-photo" tabindex="-1">
225 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 227 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
226 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($type == 'related' && !$move_related) { 228 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($type == 'related' && !$move_related) {
227 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $_category_config['aspect_ratio'] = 0; 229 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $_category_config['aspect_ratio'] = 0;
228 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_width = 300; 230 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_width = 300;
229 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_height = 300; 231 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $image_height = 300;
230 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       } 232 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       }
231 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio']) 233 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio'])
232 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width); 234 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width);
233 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else 235 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else
234 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->resize($image_width, $image_height); 236 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImage = $_imagehelper->init($_item, $image)->resize($image_width, $image_height);
235 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImageUrl = $productImage->getUrl(); 237 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productImageUrl = $productImage->getUrl();
236 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 238 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
237 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo default_image" src="<?php echo $productImageUrl; ?>" alt="<?php echo $productImage->getLabel(); ?>" alt=""/> 239 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo default_image" src="<?php echo $productImageUrl; ?>" alt="<?php echo $productImage->getLabel(); ?>" alt=""/>
238 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['alternative_image']): ?> 240 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['alternative_image']): ?>
239 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 241 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
240 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio']) 242 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($_category_config['aspect_ratio'])
241 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width); 243 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->constrainOnly(FALSE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize($image_width);
242 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else 244 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       else
243 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->resize($image_width, $image_height); 245 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImage = $_imagehelper->init($_item, $hover_image)->resize($image_width, $image_height);
244 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImageUrl = $productHoverImage->getUrl(); 246 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $productHoverImageUrl = $productHoverImage->getUrl();
245 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 247 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
246 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($productImageUrl != str_replace("/thumbnail/","/small_image/",$productHoverImageUrl)): ?> 248 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($productImageUrl != str_replace("/thumbnail/","/small_image/",$productHoverImageUrl)): ?>
247 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo hover_image" src="<?php echo $productHoverImageUrl; ?>" alt="<?php echo $productHoverImage->getLabel(); ?>" alt=""/> 249 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <img class="product-image-photo hover_image" src="<?php echo $productHoverImageUrl; ?>" alt="<?php echo $productHoverImage->getLabel(); ?>" alt=""/>
248 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 250 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
249 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 251 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
250 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 252 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
251 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product details product-item-details"> 253 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product details product-item-details">
252 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <strong class="product name product-item-name"><a class="product-item-link" title="<?php echo $block->escapeHtml($_item->getName()) ?>" href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>"> 254 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <strong class="product name product-item-name"><a class="product-item-link" title="<?php echo $block->escapeHtml($_item->getName()) ?>" href="<?php /* @escapeNotVerified */ echo $block->getProductUrl($_item) ?>">
253 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $block->escapeHtml($_item->getName()) ?></a> 255 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $block->escapeHtml($_item->getName()) ?></a>
254 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </strong> 256 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </strong>
255  257 
256 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['rating_star']): ?> 258 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($_category_config['rating_star']): ?>
257 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 259 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
258 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_model->getEntitySummary($_item); 260 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_model->getEntitySummary($_item);
259 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_html = $block->getReviewsSummaryHtml($_item, $templateType); 261 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $review_html = $block->getReviewsSummaryHtml($_item, $templateType);
260 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 262 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
261 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($review_html): ?> 263 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if($review_html): ?>
262 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $review_html; ?> 264 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo $review_html; ?>
263 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 265 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
264 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product-reviews-summary short"> 266 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product-reviews-summary short">
265 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-summary"> 267 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-summary">
266 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span class="label"><span>Rating:</span></span> 268 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span class="label"><span>Rating:</span></span>
267 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-result" title="0%"> 269 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="rating-result" title="0%">
268 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span style="width:0"><span>0%</span></span> 270 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span style="width:0"><span>0%</span></span>
269 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 271 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
270 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 272 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
271 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 273 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
272 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 274 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
273 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 275 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
274 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo $block->getProductPrice($_item); ?> 276 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php /* @escapeNotVerified */ echo $block->getProductPrice($_item); ?>
275  277 
276 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?> 278 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->isComposite() && $_item->isSaleable() && $type == 'related'): ?>
277 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?> 279 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if (!$_item->getRequiredOptions()): ?>
278 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="field choice related"> 280 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="field choice related">
279 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <input type="checkbox" class="checkbox related" id="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>" name="related_products[]" value="<?php /* @escapeNotVerified */ echo $_item->getId() ?>" /> 281 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <input type="checkbox" class="checkbox related" id="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>" name="related_products[]" value="<?php /* @escapeNotVerified */ echo $_item->getId() ?>" />
280 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <label class="label" for="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>"><span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span></label> 282 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <label class="label" for="related-checkbox<?php /* @escapeNotVerified */ echo $_item->getId() ?>"><span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span></label>
281 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 283 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
282 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 284 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
283 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 285 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
284  286 
285 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showWishlist || $showCompare || $showCart): ?> 287 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showWishlist || $showCompare || $showCart): ?>
286 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product actions product-item-actions"> 288 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="product actions product-item-actions">
287                                         <?php if ($showWishlist): ?> 289                                         <?php if ($showWishlist): ?>
288 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow() && $showWishlist): ?> 290 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($this->helper('Magento\Wishlist\Helper\Data')->isAllow() && $showWishlist): ?>
289 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" data-post='<?php /* @escapeNotVerified */ echo $block->getAddToWishlistParams($_item); ?>'  class="action actions-secondary towishlist" data-action="add-to-wishlist" title="<?php /* @escapeNotVerified */ echo __('Add to Wish List') ?>"> 291 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" data-post='<?php /* @escapeNotVerified */ echo $block->getAddToWishlistParams($_item); ?>'  class="action actions-secondary towishlist" data-action="add-to-wishlist" title="<?php /* @escapeNotVerified */ echo __('Add to Wish List') ?>">
290 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Wish List') ?></span> 292 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Wish List') ?></span>
291 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 293 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
292 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 294 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
293 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 295 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
294 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCart): ?> 296 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCart): ?>
295 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="actions-primary"> 297 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="actions-primary">
296 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->isSaleable()): ?> 298 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->isSaleable()): ?>
297 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?> 299 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getTypeInstance()->hasRequiredOptions($_item)): ?>
298 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" data-mage-init='{"redirectUrl": {"url": "<?php /* @escapeNotVerified */ echo $block->getAddToCartUrl($_item) ?>"}}' type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>"> 300 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" data-mage-init='{"redirectUrl": {"url": "<?php /* @escapeNotVerified */ echo $block->getAddToCartUrl($_item) ?>"}}' type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>">
299 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span> 301 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
300 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button> 302 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button>
301 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 303 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
302 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $postDataHelper = $this->helper('Magento\Framework\Data\Helper\PostHelper'); 304 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php $postDataHelper = $this->helper('Magento\Framework\Data\Helper\PostHelper');
303 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_item), ['product' => $_item->getEntityId()]) 305 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_item), ['product' => $_item->getEntityId()])
304 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 306 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
305 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary" 307 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <button class="action tocart primary"
306 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       data-post='<?php /* @escapeNotVerified */ echo $postData; ?>' 308 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       data-post='<?php /* @escapeNotVerified */ echo $postData; ?>'
307 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>"> 309 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       type="button" title="<?php /* @escapeNotVerified */ echo __('Add to Cart') ?>">
308 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span> 310 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
309 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button> 311 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </button>
310 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 312 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
311 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 313 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
312 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getIsSalable()): ?> 314 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($_item->getIsSalable()): ?>
313 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div> 315 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock available"><span><?php /* @escapeNotVerified */ echo __('In stock') ?></span></div>
314 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 316 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
315 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div> 317 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <div class="stock unavailable"><span><?php /* @escapeNotVerified */ echo __('Out of stock') ?></span></div>
316 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 318 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
317 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 319 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
318 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 320 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
319 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 321 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
320  322 
321 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCompare): ?> 323 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($showCompare): ?>
322 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($block->getAddToCompareUrl() && $showCompare): ?> 324 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($block->getAddToCompareUrl() && $showCompare): ?>
323 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 325 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
324 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $compareHelper = $this->helper('Magento\Catalog\Helper\Product\Compare'); 326 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       $compareHelper = $this->helper('Magento\Catalog\Helper\Product\Compare');
325 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 327 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
326 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" class="action actions-secondary tocompare" 328 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <a href="#" class="action actions-secondary tocompare"
327 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-post='<?php /* @escapeNotVerified */ echo $compareHelper->getPostDataParams($_item);?>' 329 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-post='<?php /* @escapeNotVerified */ echo $compareHelper->getPostDataParams($_item);?>'
328 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-role="add-to-links" 330 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        data-role="add-to-links"
329 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        title="<?php /* @escapeNotVerified */ echo __('Add to Compare'); ?>"> 331 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »        title="<?php /* @escapeNotVerified */ echo __('Add to Compare'); ?>">
330 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Compare') ?></span> 332 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <span><?php /* @escapeNotVerified */ echo __('Add to Compare') ?></span>
331 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a> 333 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </a>
332 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 334 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
333 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 335 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
334 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 336 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
335 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 337 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
336 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div> 338 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       </div>
337                             </div> 339                             </div>
338 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?> 340 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php if ($type == 'related' && !$move_related): ?>
339 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php 341 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php
340 »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator == count($items) || $iterator % 2 == 0) 342 »       »       »       »       »       »       »       »       »       »       »       »       »       »       if($iterator == count($items) || $iterator % 2 == 0)
341 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '</div>'; 343 »       »       »       »       »       »       »       »       »       »       »       »       »       »       »       echo '</div>';
342 »       »       »       »       »       »       »       »       »       »       »       »       »       ?> 344 »       »       »       »       »       »       »       »       »       »       »       »       »       ?>
343 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?> 345 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php else: ?>
344 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator == count($items)) ? '</div>' : '' ?> 346 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php echo($iterator == count($items)) ? '</div>' : '' ?>
345 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?> 347 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endif; ?>
346 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endforeach ?> 348 »       »       »       »       »       »       »       »       »       »       »       »       »       <?php endforeach ?>
347                     </div> 349                     </div>
348                 </div> 350                 </div>
349             </div> 351             </div>
350         </div> 352         </div>
351 »       »       »       »       »       <?php if ($type == 'related'): ?> 353 »       »       »       »       »       <?php if ($type == 'related'): ?>
352 »       »       »       »       »       »       <script type="text/javascript"> 354 »       »       »       »       »       »       <script type="text/javascript">
353 »       »       »       »       »       »       »       »       require([ 355 »       »       »       »       »       »       »       »       require([
354 »       »       »       »       »       »       »       »       »       »       'jquery', 356 »       »       »       »       »       »       »       »       »       »       'jquery',
355 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min' 357 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min'
356 »       »       »       »       »       »       »       »       ], function ($) { 358 »       »       »       »       »       »       »       »       ], function ($) {
357                     <?php if(!$move_related): ?> 359                     <?php if(!$move_related): ?>
358 »       »       »       »       »       »       »       »       »       »       $(".products-related .owl-carousel").owlCarousel({ 360 »       »       »       »       »       »       »       »       »       »       $(".products-related .owl-carousel").owlCarousel({
359 »       »       »       »       »       »       »       »       »       »       »       »       dots: false, 361 »       »       »       »       »       »       »       »       »       »       »       »       dots: false,
360 »       »       »       »       »       »       »       »       »       »       »       »       items: 1, 362 »       »       »       »       »       »       »       »       »       »       »       »       items: 1,
361 »       »       »       »       »       »       »       »       »       »       »       »       nav: true 363 »       »       »       »       »       »       »       »       »       »       »       »       nav: true
362 »       »       »       »       »       »       »       »       »       »       }); 364 »       »       »       »       »       »       »       »       »       »       });
363                     <?php else: ?> 365                     <?php else: ?>
364                     $(".products-related .owl-carousel").owlCarousel({ 366                     $(".products-related .owl-carousel").owlCarousel({
365 »       »       »       »       »       »       »       »       »       »       »       »       dots: true, 367 »       »       »       »       »       »       »       »       »       »       »       »       dots: true,
366 »       »       »       »       »       »       »       »       »       »       »       »       items: 1, 368 »       »       »       »       »       »       »       »       »       »       »       »       items: 1,
367 »       »       »       »       »       »       »       »       »       »       »       »       nav: false, 369 »       »       »       »       »       »       »       »       »       »       »       »       nav: false,
368   »     »       »       »       »       »       »       »       »       »       »       responsive: { 370   »     »       »       »       »       »       »       »       »       »       »       responsive: {
369   »     »       »       »       »       »       »       »       »       »       »       »       0: { 371   »     »       »       »       »       »       »       »       »       »       »       »       0: {
370   »     »       »       »       »       »       »       »       »       »       »       »       »       items:2 372   »     »       »       »       »       »       »       »       »       »       »       »       »       items:2
371   »     »       »       »       »       »       »       »       »       »       »       »       }, 373   »     »       »       »       »       »       »       »       »       »       »       »       },
372   »     »       »       »       »       »       »       »       »       »       »       »       768: { 374   »     »       »       »       »       »       »       »       »       »       »       »       768: {
373   »     »       »       »       »       »       »       »       »       »       »       »       »       items:3 375   »     »       »       »       »       »       »       »       »       »       »       »       »       items:3
374   »     »       »       »       »       »       »       »       »       »       »       »       }, 376   »     »       »       »       »       »       »       »       »       »       »       »       },
375   »     »       »       »       »       »       »       »       »       »       »       »       992: { 377   »     »       »       »       »       »       »       »       »       »       »       »       992: {
376   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns-1; ?> 378   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns-1; ?>
377   »     »       »       »       »       »       »       »       »       »       »       »       }, 379   »     »       »       »       »       »       »       »       »       »       »       »       },
378   »     »       »       »       »       »       »       »       »       »       »       »       1200: { 380   »     »       »       »       »       »       »       »       »       »       »       »       1200: {
379   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns; ?> 381   »     »       »       »       »       »       »       »       »       »       »       »       »       items: <?php echo $move_related_columns; ?>
380   »     »       »       »       »       »       »       »       »       »       »       »       } 382   »     »       »       »       »       »       »       »       »       »       »       »       }
381   »     »       »       »       »       »       »       »       »       »       »       } 383   »     »       »       »       »       »       »       »       »       »       »       }
382 »       »       »       »       »       »       »       »       »       »       }); 384 »       »       »       »       »       »       »       »       »       »       });
383                     <?php endif; ?> 385                     <?php endif; ?>
384 »       »       »       »       »       »       »       »       }); 386 »       »       »       »       »       »       »       »       });
385 »       »       »       »       »       »       </script> 387 »       »       »       »       »       »       </script>
386 »       »       »       »       »       <?php endif; ?> 388 »       »       »       »       »       <?php endif; ?>
387 »       »       »       »       »       <?php if ($type == 'upsell'): ?> 389 »       »       »       »       »       <?php if ($type == 'upsell'): ?>
388 »       »       »       »       »       »       »       <script type="text/javascript"> 390 »       »       »       »       »       »       »       <script type="text/javascript">
389 »       »       »       »       »       »       »       »       »       require([ 391 »       »       »       »       »       »       »       »       »       require([
390 »       »       »       »       »       »       »       »       »       »       'jquery', 392 »       »       »       »       »       »       »       »       »       »       'jquery',
391 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min' 393 »       »       »       »       »       »       »       »       »       »       'owl.carousel/owl.carousel.min'
392 »       »       »       »       »       »       »       »       »       ], function ($) { 394 »       »       »       »       »       »       »       »       »       ], function ($) {
393 »       »       »       »       »       »       »       »       »       »       $(".products-upsell .owl-carousel").owlCarousel({ 395 »       »       »       »       »       »       »       »       »       »       $(".products-upsell .owl-carousel").owlCarousel({
394 »       »       »       »       »       »       »       »       »       »       »       margin: 0, 396 »       »       »       »       »       »       »       »       »       »       »       margin: 0,
395 »       »       »       »       »       »       »       »       »       »       »       nav: false, 397 »       »       »       »       »       »       »       »       »       »       »       nav: false,
396 »       »       »       »       »       »       »       »       »       »       »       dots: true, 398 »       »       »       »       »       »       »       »       »       »       »       dots: true,
397 »       »       »       »       »       »       »       »       »       »       »       responsive: { 399 »       »       »       »       »       »       »       »       »       »       »       responsive: {
398 »       »       »       »       »       »       »       »       »       »       »       »       0: { 400 »       »       »       »       »       »       »       »       »       »       »       »       0: {
399 »       »       »       »       »       »       »       »       »       »       »       »       »       items:2 401 »       »       »       »       »       »       »       »       »       »       »       »       »       items:2
400 »       »       »       »       »       »       »       »       »       »       »       »       }, 402 »       »       »       »       »       »       »       »       »       »       »       »       },
401 »       »       »       »       »       »       »       »       »       »       »       »       768: { 403 »       »       »       »       »       »       »       »       »       »       »       »       768: {
402 »       »       »       »       »       »       »       »       »       »       »       »       »       items:3 404 »       »       »       »       »       »       »       »       »       »       »       »       »       items:3
403 »       »       »       »       »       »       »       »       »       »       »       »       }, 405 »       »       »       »       »       »       »       »       »       »       »       »       },
404 »       »       »       »       »       »       »       »       »       »       »       »       992: { 406 »       »       »       »       »       »       »       »       »       »       »       »       992: {
405 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns-1; ?> 407 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns-1; ?>
406 »       »       »       »       »       »       »       »       »       »       »       »       }, 408 »       »       »       »       »       »       »       »       »       »       »       »       },
407 »       »       »       »       »       »       »       »       »       »       »       »       1200: { 409 »       »       »       »       »       »       »       »       »       »       »       »       1200: {
408 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns; ?> 410 »       »       »       »       »       »       »       »       »       »       »       »       »       items:<?php echo $upsell_columns; ?>
409 »       »       »       »       »       »       »       »       »       »       »       »       } 411 »       »       »       »       »       »       »       »       »       »       »       »       }
410 »       »       »       »       »       »       »       »       »       »       »       } 412 »       »       »       »       »       »       »       »       »       »       »       }
411 »       »       »       »       »       »       »       »       »       »       }); 413 »       »       »       »       »       »       »       »       »       »       });
412 »       »       »       »       »       »       »       »       »       }); 414 »       »       »       »       »       »       »       »       »       });
413 »       »       »       »       »       »       »       </script> 415 »       »       »       »       »       »       »       </script>
414 »       »       »       »       »       <?php endif; ?> 416 »       »       »       »       »       <?php endif; ?>
415         <?php endif;?> 417         <?php endif;?>